package utils;

import org.apache.commons.logging.impl.Log4JLogger;

/**
 * Created by IntelliJ IDEA.
 * User: risto
 * Date: 12/13/11
 * Time: 12:33 PM
 * To change this template use File | Settings | File Templates.
 */
public class Logger {

  private static org.apache.log4j.Logger instance = null;

  public static org.apache.log4j.Logger getInstance(String className) {
    if (instance == null) {
      instance = new Log4JLogger(className).getLogger();
    }
    return instance;
  }

}
